/**
 * Created by 李柏霖
 * 2020/11/1 16:57
 */

package com.lbl.dao.system.dept;


import com.lbl.domain.system.dept.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDeptDao {
    List<Dept> findAll();
    List<Dept> findAllDeptById(String companyId);
    Dept findById(String deptId);
    void updateDept(Dept dept);
    int findParentCount(String deptId);
    void deleteById(String deptId);

    void saveDept(Dept dept);
}